@charset "UTF-8";
//页面元素样式重置
body, div, dl, dt, dd, ul, ol, li, hr, h1, h2, h3, h4, h5, h6, pre, code, form,
fieldset, legend, input, textarea, button, blockquote, th, td,
header, nav, aside, menu, figure, article, time, footer{
    margin:0;
    padding:0;
}
header,nav,aside,menu,figure,article,time,footer{
    display:block;
}
body, p, form, ul, li{
    list-style: none outside none;
}
body{
    -webkit-touch-callout:none;// 禁用长按页面时的弹出菜单
    -webkit-overflow-scrolling:touch;// 局部滚动(仅iOS 5以上支持)
    -webkit-tap-highlight-color: rgba(255,255,255,0);//去掉元素因touch产生的灰色背景
    -webkit-text-size-adjust:none;//禁止字号自动变化，旋转时某些区域字号会放大，导致折行，错位、显示不完整
}
img{
    border:none;
    outline:none;
    vertical-align:top;
    //图片加载失败时隐藏边框
    &[src=""],&:not([src]){
        opacity:0;
    }
}
a{
    outline:none;
    border:none;
    cursor:pointer;
    text-decoration:none;
    &:active{
        outline: none;
    }
}
p {
  margin: 0 0 10px;
}
input,select,button,textarea{
    border:none;
    outline:none;
    &:focus,&:active,&:visited{
        outline:none;
    }
}
button,input[type=button],
input[type=reset],input[type=submit]{
    overflow:visible;
    cursor:pointer;
}
// button,input[type=button],
// input[type=reset],
// input[type=submit],
// input[type=text],
// input[type=password],
// input[type=file],
// input[type=datetime],
// input[type=datetime-local],
// input[type=date],
// input[type=month],
// input[type=time],
// input[type=week],
// input[type=number],
// input[type=email],
// input[type=url],
// input[type=search],
// input[type=tel],
// input[type=color],
// textarea,select{
//     -webkit-appearance:none;
// }
button::-moz-focus-inner,input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    border:none;
    padding:0;
}